#{extends 'main.html' /}
#{set title:'Salao Tads' /}
#{stylesheet 'style.css'/}


<head>
</head>
<body>
<div id="Content"> <!--Container -->

	<div id="Header">
     
   		<div id="menuforms">
        <ul>
		<br>
		<center>
        <form action="listar_pessoas">
<INPUT TYPE="RADIO" NAME="tipo" VALUE="Funcionario"> Funcionario
<INPUT TYPE="RADIO" NAME="tipo" VALUE="Cliente"> Cliente
<INPUT type="submit">
</form>
<br><br><br>
<table border="1">
<th>Nome</th><th>endereco</th><th>telefone</th><th>CPF</th>

#{list items:p, as:'f'} 
<tr>


<td>${f.nome}</td>
<td> ${f.endereco}</td>
<td> ${f.telefone}</td>
<td>${f.cpf}</td>

<td>- #{a @Application.remover(p.id)}Remover#{/a}</td>

		#{/list}
		<tr>
		<table>
        </center>
		</ul>
</div>    
        
  
    <div id="footer">
 <li> 
   <div align="center"><a href="/secure/logout">Encerrar Sessao</a></div>
 </li> 
</div>

</body>
</html>